//
//  YLRegularFinancingDetailModel.m
//  YLFinanceService
//
//  Created by she1323 on 2017/10/30.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLRegularFinancingDetailModel.h"

@implementation YLRegularFinancingDetailModel

- (void)setCalulationDate:(NSString *)calulationDate
{
    _calulationDate = calulationDate;
    
    if (calulationDate.length > 10) {
        _calulationDate = [calulationDate substringToIndex:10];
    }
}

- (void)setAdditionalInterestRate:(NSString *)additionalInterestRate
{
    _additionalInterestRate = additionalInterestRate;
    _additionalInterestRate = [NSString stringWithFormat:@"%@%%", additionalInterestRate];
}

- (void)setEndTime:(NSString *)endTime
{
    _endTime = endTime;
    if (endTime.length > 10) {
        _endTime = [endTime substringToIndex:10];
    }
}

@end
